function rest = binomial(upper, lower)

if size(upper)~= size(lower)
    return
elseif min(upper-lower)<0
    return
else 
    tmp=upper-lower;
    rest=indexfactorial(upper)/indexfactorial(lower)/indexfactorial(tmp);
end

        
    
    